package zhuangtai;

import android.util.Log;

public class MyContext {
    private PersonState mPersonState;
    public  MyContext(PersonState personState) {
        mPersonState = personState;
    }
    public void movies() {//状态不一样 执行方法不一样
        mPersonState.movies();
    }
    public void shopping() {
        mPersonState.shopping();
    }
}
